home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
B-Book Series
/
(k)b4.d64
/
sec3.2b
< prev
next >
Wrap
Text File
|
2007-02-28
|
519b
|
20 lines
0005 DOWN:=6
0010 FOR ACROSS:=21 TO 27 DO
0020 CURSOR(ACROSS,DOWN)
0030 PRINT "*"
0040 ENDFOR ACROSS
9000 //
9010 //CURSOR IS FORMAT OF BOOK
9020 //IT CALLS REAL'CURSOR WHICH FOLLOWS CBM COMAL METHOD
9030 //
9040 PROC CURSOR(ACROSS,DOWN) CLOSED
9050 ROW:=DOWN; COL:=ACROSS
9060 REAL'CURSOR(ROW,COL)
9070 ENDPROC CURSOR
9080 PROC REAL'CURSOR(ROW,COL) CLOSED
9090 PRINT CHR$(19), //HOME
9100 FOR ROWS:=1 TO ROW DO PRINT CHR$(17), //DOWN
9110 FOR COLS:=1 TO COL DO PRINT CHR$(29), //RIGHT
9120 ENDPROC REAL'CURSOR
9130 //